<div class="febs-container" id="incentiveQuotaApply-edit">
    <div class="febs-open-body">
        <form class="layui-form" action="" lay-filter="incentiveQuotaApply-edit-form">
            <div class="layui-form-item febs-hide">
                <div class="layui-row">
                    <div class="layui-col-sm6">
                        <label class="layui-form-label febs-form-item-require">公司Id：</label>
                        <div class="layui-input-block">
                            <input type="text" name="tenantId" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-col-sm6">
                        <label class="layui-form-label febs-form-item-require">userId：</label>
                        <div class="layui-input-block">
                            <input type="text" name="userId" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-col-sm6">
                        <label class="layui-form-label febs-form-item-require">userNo：</label>
                        <div class="layui-input-block">
                            <input type="text" name="userNo" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-col-sm6">
                        <label class="layui-form-label febs-form-item-require">realName：</label>
                        <div class="layui-input-block">
                            <input type="text" name="realName" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-col-sm6">
                        <label class="layui-form-label febs-form-item-require">deptId：</label>
                        <div class="layui-input-block">
                            <input type="text" name="deptId" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-col-sm6">
                        <label class="layui-form-label febs-form-item-require">deptName：</label>
                        <div class="layui-input-block">
                            <input type="text" name="deptName" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item" >
                <div class="layui-row">
                    <div class="layui-col-xs4">
                        <label class="layui-form-label">当前总额度</label>
                        <div style="color: red" class="layui-input-block layui-input-block-html" id="totalQuota" data-th-text="0元">
                        </div>
                    </div>
                    <div class="layui-col-xs4">
                        <label class="layui-form-label">已奖励额度</label>
                        <div style="color: red" class="layui-input-block layui-input-block-html" id="rewardedQuota" data-th-text="0元">
                        </div>
                    </div>
                    <div class="layui-col-xs4">
                        <label class="layui-form-label">剩余额度</label>
                        <div style="color: red" class="layui-input-block layui-input-block-html" id="remainQuota" data-th-text="0元">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item" >
                <div class="layui-row">
                    <div class="layui-col-xs12">
                        <label class="layui-form-label febs-form-item-require">申请额度：</label>
                        <div class="layui-input-block">
                            <input type="text" name="applyQuota" placeholder="请输入申请额度" class="layui-input" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="8">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-row">
                    <div class="layui-col-xs12">
                        <label class="layui-form-label febs-form-item-require">申请理由：</label>
                        <div class="layui-input-block">
                            <textarea name="applyRemark" class="layui-textarea" maxlength="900" placeholder="请输入备注" lay-verify="required"></textarea>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item febs-hide">
                <button class="layui-btn" lay-submit="" lay-filter="incentiveQuotaApply-edit-form-submit" id="submit"></button>
                <button type="reset" class="layui-btn" id="reset"></button>
            </div>
        </form>
    </div>
</div>
<script type="text/html" id="quotaGoods-option">
    <a lay-event="del" ><em class="layui-icon febs-edit-area febs-red">&#xe7f9;</em></a>
</script>
<script data-th-inline="javascript">
    currentTenantId = [[${currentTenantId}]],
    hasHeadCompanyRole = [[${hasHeadCompanyRole}]],
    incentiveQuotaConfigData = [[${incentiveQuotaConfig}]];
</script>
<script th:src="@{/febs/js/incentive/incentiveQuotaConfig/incentiveQuotaConfigApply.js(v=1)}"></script>